package com.JamesHood.MyGame;

import com.JamesHood.framework.Game;
import com.JamesHood.framework.Graphics;
import com.JamesHood.framework.Graphics.ImageFormat;
import com.JamesHood.framework.Screen;

public class SplashScreen extends Screen
{
	public SplashScreen(Game game)
	{
		super(game);
	}

	@Override
	public void update(float deltaTime)
	{
		Graphics g = game.getGraphics();
		Assets.splash = g.newImage("splash.jpg", ImageFormat.RGB565);

		game.setScreen(new LoadingScreen(game));

	}

	@Override
	public void paint(float deltaTime)
	{

	}

	@Override
	public void pause()
	{

	}

	@Override
	public void resume()
	{

	}

	@Override
	public void dispose()
	{

	}

	@Override
	public void backButton()
	{

	}
}